﻿using System;

namespace hw5_1
{
    class Program
    {
        static bool isPrime(int i)
        {
            for (int j = 2; j < i; j++)
            {
                if (i % j == 0) return false;
            }
            return true;
        }
        static void Main()
        {
            int number, sub1;
            for (number = 6; number <= 100; number += 2)
            {
                for (sub1 = 3; sub1 < number - 2; sub1++)
                {
                    if (isPrime(sub1) && isPrime(number - sub1))
                    {
                        Console.WriteLine("{0}={1}+{2}", number, sub1, number - sub1);

                    }
                }
            }
            Console.Read();
        }
    }
}